#ifndef _OI_PLSCANNERCORE_TOOLLABEL_HPP_
#define _OI_PLSCANNERCORE_TOOLLABEL_HPP_

#include "PLScannerCore/OiPLScannerCore.hpp"

namespace Oi
{
    namespace PLScannerCore
    {
        class OI_PLSCANNER_CORE_API ToolLabel : public QWidget
        {
        public:
            ToolLabel( QWidget * parent = nullptr );

        public:
            void setValue(QVariantMap value);
            void setText(QString text);


        protected:
            void paintEvent(QPaintEvent *event);

        private:
            OI_DECLARE_IMPL(ToolLabel);
            OI_DISABLE_COPY(ToolLabel);

        };
    }
}

#endif
